import { useCallback, useMemo, useState } from 'react'
import {Outlet,useRoutes} from 'react-router-dom'
import './App.css'

import {routes} from './routes/index'

function App() {

  let appRoutes = useRoutes(routes)

  return (
    <div className="App">

        {appRoutes}

    </div>
  )
}

export default App
